<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="../../css/reset.css"/>
		<link rel="stylesheet" type="text/css" href="../../css/list.css"/>
		<link rel="stylesheet" type="text/css" href="../../js/bootstrap/bootstrap-table.min.css"/>
		<link rel="stylesheet" type="text/css" href="../../js/bootstrap/bootstrap.min.css"/>
		<script src="../../js/bootstrap/jquery.min.js"></script>
		<script src="../../js/bootstrap/bootstrap.min.js"></script>
		<script src="../../js/bootstrap/bootstrap-table.min.js"></script>
		<script src="../../js/bootstrap/bootstrap-table-zh-CN.min.js"></script>
	</head>
	<body>
	<table id="courier_list"></table>
	<script>
		$(function(){
			$("#courier_list").bootstrapTable({
				url:"/courier/list.do",
				striped:true,
				pageNumber:1,
				pagination:true,
				sidePagination:"server",
				pageSize:5,
				pageList:[5,10,20],
				showRefresh:true,
				queryParams:function(params){
					return {
						offset:params.offset,
						limit:params.limit
					};
				},
				columns:[
					{
						title:"编号",
						field:"id",
						sortable:false
					},
					{
						title:"姓名",
						field:"couriername",
						sortable:false
					},
					{
						title:"手机号码",
						field:"staffphone",
						sortable:false
					},
					{
						title:"身份证号",
						field:"personalid",
						sortable:false
					},
					{
						title:"密码",
						field:"password",
						sortable:false
					},
					{
						title:"派件数",
						field:"delivery",
						sortable:false
					},
					{
						title:"注册时间",
						field:"createtime",
						sortable:false
					},
					{
						title:"上次登录时间",
						field:"logintime",
						sortable:false
					}
				]
			});
		});
	</script>
	</body>
</html>
